package com.smart.sso.server.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.smart.mvc.dao.mybatis.Dao;
import com.smart.sso.server.model.UserGroup;

public interface UserGroupDao extends Dao<UserGroup	, Integer> {

	public List<UserGroup> findByUserGroupId(@Param("uid") Integer uid , @Param("gid") Integer gid);
			
	public void deleteByUserIds(@Param("idList") List<Integer> idList);	
	
	public void deleteByGroupIds(@Param("idList") List<Integer> idList);
}
